package com.letfox.ad.service;

import java.util.List;

import com.letfox.ad.model.ADPlan;

public interface ADPlanService {
    int deleteByPrimaryKey(String adPlanId);

    int insert(ADPlan record);

    ADPlan selectByPrimaryKey(String adPlanId);

    int updateByPrimaryKey(ADPlan record);
    
    List<ADPlan> selectUserAD(String accountId,String del);
    
    /**
     * 根据素材ID查询AD_PLAN interType
     * @param materId
     * @return
     */
    ADPlan selectADInterType(String materId);
}